package com.nursinghome.admin.service;

import com.nursinghome.bean.Salary;
import com.nursinghome.exception.NurisingHomeException;

import java.util.List;

public interface SalaryService {
    //根据月份查询工资单
    List<Salary> selectByPicday(String data);
    //新增工资条
    Boolean insert(Salary salary) throws NurisingHomeException;
    //修改工资条
    Boolean update(Salary salary) throws NurisingHomeException;
    //根据月份和mid查询工资条
    Salary selectByMid(String data, Integer mid);
}
